package com.example.springbootfile.config;

public class FileConfig {
    //对应的上传目录
    public static final String UPLOAD_PATH = "D:/img/";
    //允许上传的图片格式
    public static  final String[] UPLOAD_IMAGE_TYPES = {"jpg","ico","gif","png"};
    //允许上传的文件格式
    public static final  String[] UPLOAD_FILE_TYPES ={"doc","docx","xls","xlsx","txt"};
    //保存文件
    public  static final  long FILE_MAX_SIZE = 3L * 1024 * 1024;
}
